package com.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 测试继承
 */
@ApiModel("测试继承约束类")
@Data
public class Extend extends Car{

    @NotBlank(message = "生日不能为空")
    @ApiModelProperty(value = "生日")
    private String bridthday;
}
